Skip to content

Conversation

@nithinmohantk
Copy link
Owner

@nithinmohantk nithinmohantk commented Nov 26, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • exercises/udacity-c2-restapi/package.json
  • exercises/udacity-c2-restapi/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Incomplete Filtering of One or More Instances of Special Elements
SNYK-JS-VALIDATOR-13653476
  828  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Upgrade sequelize from 5.x to 6.6.5 and update lockfile (lodash, moment(+timezone), validator, semver, sequelize-pool, wkx, inflection); remove Bluebird/CLS-related deps.

  • Dependencies:
    • Upgrade sequelize to ^6.6.5 in exercises/udacity-c2-restapi/package.json.
    • Refresh transitive deps in package-lock.json:
      • Bumps: lodash, moment, moment-timezone, validator, semver, sequelize-pool, wkx, inflection, uuid.
      • Removes Bluebird/CLS dependencies: bluebird, cls-bluebird, is-bluebird, shimmer.

Written by Cursor Bugbot for commit 52b0bd2. This will update automatically on new commits. Configure here.

…-restapi/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-13653476
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"pg": "^7.11.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^5.15.1",
"sequelize": "^6.6.5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Incompatible sequelize-typescript version with Sequelize 6 upgrade

The sequelize package was upgraded from 5.x to 6.x, but sequelize-typescript remains at version 0.6.11. This version of sequelize-typescript depends on @types/sequelize 4.28.1 and @types/bluebird, indicating it was built for Sequelize 4/5. Sequelize 6 has breaking changes including removal of Bluebird promises and API modifications. The application uses sequelize-typescript decorators and the Model class throughout, and this incompatibility will cause runtime failures. For Sequelize 6 compatibility, sequelize-typescript needs to be upgraded to version 2.x.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants